home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / smtp / readme.txt < prev    next >
Text File  |  1998-12-25  |  2KB  |  58 lines

  1. This SMTP.OCX has properties such as follows :
  2.  
  3. Send_Mail   : Boolean variable (Read/Write)
  4.               Set to TRUE if we want to connect to
  5.               SMTP Server and send our mail. If we
  6.               succeeded send email this property set to 
  7.               False (default) again by the ocx. 
  8.  
  9. Mail_Server : String Variable (Read/Write).
  10.               Name of SMTP Server.
  11.  
  12. Mail_To     : String Variable (Read/Write).
  13.               Address of receipient.
  14.  
  15. Mail_From   : String Variable (Read/Write).
  16.               Your mail address.
  17.  
  18. Subject     : String Variable (Read/Write).
  19.               Subject of mail.
  20.  
  21. Message     : String Variable (Read/Write).
  22.               Body of message.
  23.  
  24. Status      : String Variable (Read Only).
  25.               This property give connection status to SMTP server and
  26.               Error message from Winsock or Error message from SMTP Server.
  27.  
  28. Error       : Boolean variable (Read Only)
  29.               Set to True by the ocx if we have error from SMTP Server or
  30.               error from Winsock. 
  31.     
  32. The steps to send mail as follows :
  33. --------------------------------------
  34. 1. ' Set SMTP server's name
  35.    Smtp1.Mail_Server = your smtp server address (Text)
  36. 2. ' Set mail address of sender
  37.    Smtp1.Mail_From = your email address (Text)
  38. 3. '   Set mail address of receipient
  39.    Smtp1.Mail_To = address of receipient (Text)
  40. 4. '   Set mail subject
  41.    Smtp1.Subject = your subject (Text)
  42. 5. ' Set body of message
  43.    Smtp1.Message = your body message (Text)
  44. 6. ' Send_Mail set to True means we connect to SMTP server and send your mail
  45.    Smtp1.Send_Mail = True  (Boolean)    
  46.  
  47. Let me know your bugs report or suggestions,so i can give my best to Internet Community.
  48.  
  49. Regards,
  50. Ari
  51. MicroTech Labs.
  52. Bogor - Indonesia
  53.  
  54. Email    : arigr@indo.net.id
  55.            microtech_labs@theoffice.net
  56. Homepage : http://getit.at/freeocxsite/
  57.            http://microtechlabs.hypermart.net
  58.